OLE2open | Pad |
Syntax: @OLE2put Channel, Property, Value
The @OLEput command is used to set an OLE2 Automation object property.
Channel: The channel number which has been assigned by a previous call to the @OLE2open command.
Property: The name of the OLE2 automation object property.
Value: The value to be assigned to the OLE2 automation object property.
Example
An OLE2 session to bring Microsoft Word for Windows to foreground.
@OLE2open 'word.application' , Channel_num
@OLE2put Channel_num, 'Visible' , 1
@OLE2close Channel_num